Traits§
- The
LnExp
trait extends the functionality afforded by alibm
, providing careful evaluation of compositions of theln
,exp
,ln_1p
andexp_m1
functions so as to avoid underflow/overflow. Furthermore, in some cases, the methods provided by this trait result in fewer calls than the equivalent function composition.